﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using ApprovalFlow.Interface;
using ApprovalFlow.Models;

namespace ApprovalFlow
{
    /// <summary>
    /// 步骤节点
    /// </summary>
    public interface IStepBody
    {


        /// <summary>
        /// 执行
        /// </summary>
        /// <param name="context"></param>
        /// <returns></returns>
        Task<ExecutionResult> RunAsync(IStepExecutionContext context);

    }
}
